import GameConfig from "../config/GameConfig.js"

export default class Rect{
    public x:number = 0
    public y:number = 0
    public width:number = GameConfig.RectSize
    public height:number = GameConfig.RectSize
    constructor(x:number = 0,y:number=0,width:number = GameConfig.RectSize,height:number=GameConfig.RectSize){
        this.x =x
        this.y = y
        this.width = width
        this.height = height
    }
}